﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="admin_Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contenido" Runat="Server">
<form id="Form1" runat=server>
    <table border="0" cellpadding="0" align="center" width="200">
        <tr>
            <td align="center" colspan="2" style="font-weight: bold; color: white; background-color: #6b696b">
                Log In</td>
        </tr>
        <tr>
            <td align="left" style="width: 102px; height: 40px">
                <asp:Label ID="lbUsuario" runat="server" Text="User:" Width="88px"></asp:Label></td>
            <td style="height: 40px">
                <asp:TextBox ID="frmLogin" runat="server" Width="136px"></asp:TextBox>&nbsp;
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 102px; height: 40px">
                <asp:Label ID="lbContrasena" runat="server" Text="Password:" Width="64px"></asp:Label></td>
            <td style="height: 40px">
                <asp:TextBox ID="frmContrasena" runat="server" TextMode="Password" Width="136px"></asp:TextBox>&nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" colspan="2" style="height: 19px">
                <asp:Button ID="cmdLogin" runat="server" OnClick="cmdLogin_Click" Style="position: relative"
                    Text="Enter" />&nbsp;</td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="color: red; height: 11px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="frmLogin"
                    ErrorMessage="The username field is required" SetFocusOnError="True" Style="left: 0px;
                    position: relative; top: 0px" Width="152px"></asp:RequiredFieldValidator><br />
                <br />
                &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="frmContrasena"
                    ErrorMessage="The password is required" SetFocusOnError="True" Style="left: 0px;
                    position: relative; top: -6px" Width="120px"></asp:RequiredFieldValidator><br />
                <asp:Label ID="lbnotautenticate" runat="server" BackColor="Yellow" BorderColor="Yellow"
                    Style="position: relative" Text="Invalid user" Visible="False" Width="112px"></asp:Label></td>
        </tr>
        
    </table>
    </form>
</asp:Content>

